package org.dromara.finance.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.finance.domain.SaleContract;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SaleContract.class)
public class SaleContractVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 销售合同号
     */
    @ExcelProperty(value = "销售合同号")
    private String saleContractNum;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称")
    private String projectName;

    /**
     * 运输路段 1-国内，2-国外
     */
    @ExcelProperty(value = "运输路段 1-国内，2-国外")
    private Long transportSection;

    /**
     * 客户ID
     */
    @ExcelProperty(value = "客户ID")
    private Long customerId;
    @ExcelProperty(value = "客户名称")
    private String customerName;

    /**
     * 签订日期
     */
    @ExcelProperty(value = "签订日期")
    private Date signDate;

    /**
     * 签订部门
     */
    @ExcelProperty(value = "签订部门")
    private Long signDept;
    private String signDeptName;

    /**
     * 签订人员ID
     */
    @ExcelProperty(value = "签订人员ID")
    private Long signStaffId;
    @ExcelProperty(value = "签订人员")
    private String signStaffName;

    /**
     * 原币价税合计
     */
    @ExcelProperty(value = "原币价税合计")
    private BigDecimal originalTotalAmount;

    /**
     * 原币无税金额
     */
    @ExcelProperty(value = "原币无税金额")
    private BigDecimal originalAmount;

    /**
     * 原币税额
     */
    @ExcelProperty(value = "原币税额")
    private BigDecimal originalTaxedAmount;

    /**
     * 币种
     */
    @ExcelProperty(value = "币种")
    private Long currency;

    /**
     * 汇率
     */
    @ExcelProperty(value = "汇率")
    private BigDecimal exchangeRate;

    /**
     * 本币价税合计
     */
    @ExcelProperty(value = "本币价税合计")
    private BigDecimal localTotalAmount;

    /**
     * 本币无税金额
     */
    @ExcelProperty(value = "本币无税金额")
    private BigDecimal localAmount;

    /**
     * 本币税额
     */
    @ExcelProperty(value = "本币税额")
    private BigDecimal localTaxedAmount;

    /**
     * 转关税
     */
    @ExcelProperty(value = "转关税")
    private BigDecimal transferTaxedAmount;

    /**
     * 保险费
     */
    @ExcelProperty(value = "保险费")
    private BigDecimal insuranceAmount;

    /**
     * 押车费
     */
    @ExcelProperty(value = "押车费")
    private BigDecimal escortAmount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
